package com.zhijian.warehouse.manage.entity.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.zhijian.warehouse.manage.entity.vo.response.StoreOutProductDetail;
import com.zhijian.warehouse.manage.entity.vo.response.StoreOutRecordProductVo;
import com.zhijian.warehouse.manage.enums.StoreEnum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Objects;

/**
 * 出库记录
 *
 * @author auto
 * @version 1.0
 * @date 2024-10-27 13:45:40
 */
@Data
public class StoreOutRecordExport{

    @Excel(name = "序号",  format = "isAddIndex")
    private Integer serial;

    @Excel(name = "出库单号", width = 20)
    private String number;

    @Excel(name = "产品明细")
    private String productDetail;

    @Excel(name = "已出库数")
    private BigDecimal realCount;

    @Excel(name = "出库仓库")
    private String warehouseName;

    @Excel(name = "领用人")
    private String drawUserName;

    @Excel(name = "出库时间")
    private String outTime;

    @Excel(name = "单据状态", replace = {"草稿_0", "待审核_1", "已完成_2","已驳回_9", " _null"})
    private Byte status;

    @Excel(name = "用途")
    private String purpose;

    @Excel(name = "备注")
    private String note;

    private List<StoreOutProductDetail> productDetailList;

}
